<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<html>
<head>
    <title>学员退款表</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp"%>

    <script type="text/javascript" src="/static/js/system/refund.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="refund_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="refund_tb">
        <div>
         <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="watch">查看</a>
            <shiro:hasPermission name="refund:changeState">
<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="changeState">审核</a>
            </shiro:hasPermission>
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        </div>
    <div>
        <!--高级查询-->

        目前班级:<input class="easyui-combobox" name="gradeId" id="gradeId" data-options="
                                     url:'/grade/listAll',
                                        valueField: 'id',
                                        textField: 'name'
                                       "/>
        退款时间: <input type="text" class="easyui-datebox" name="beginDate" id="beginDate" prompt="请输入开始时间"/> -
        <input type="text" class="easyui-datebox" name="endDate" id="endDate" prompt="请输入结束时间"/>
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
           data-cmd="query">查询</a>

    </div>
</div>
<!--end左上角工具栏-->

<!--begin查看对话框-->
<div id="refund_dialog" align="center">
    <form id="refund_form" method="post">
        <table style="margin-top: 20px;">
            <input type="hidden" name="id" id="refundId">
            <tr>
                <td>学员名称</td>
                <td><input class="easyui-textbox" name="refundName" ></td>
            </tr>
            <tr>
                <td>退款金额</td>
                <td><input class="easyui-textbox" name="leavestudent.refundAmount"></td>
            </tr>
            <tr>
                <td>班级</td>
                <td><input class="easyui-textbox" name="grade.name" ></td>
            </tr>
            <tr>
                <td>退款人</td>
                <td><input class="easyui-textbox" name="refunduser.username" ></td>
            </tr>
            <tr>
                <td>录入人</td>
                <td><input class="easyui-textbox" name="inputuser.username"></td>
            </tr>
            <tr>
                <td>退款原因</td>
                <td><input class="easyui-textbox" name="leavestudent.leavereasion"></td>
            </tr>
            <tr>
                <td>审核人</td>
                <td><input class="easyui-textbox" name="auditor.username"></td>
            </tr>
            <tr>
                <td>审核状态</td>
                <td><input class="easyui-textbox" name="refundamountstate" data-options="data: [{
                        label: '审核中',
                        value: '0'
                    },{
                        label: '审核通过',
                        value: '1'
                    }], textField:'label',valueField:'value',panelHeight:'auto'" ></td>
            </tr>


        </table>
    </form>
</div>
<!--end查看对话框-->

<!--begin添加/编辑对话框底部按钮-->
<div id="refund_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
<!--end添加/编辑对话框底部按钮-->

</body>
</html>
